/* import request from './request.js'; */
import fetch from "./request.js";

// 查询配置类型列表
export function querySystemConfigCategoryList(data) {
  return fetch("/nb-as/1.0.1/ConfigService/querySystemConfigCategoryList", {
    method: "post",
    data: data,
    withLoading: true,
  });
}
// 查询系统配置列表（分页查询）
export function querySystemConfigList(data) {
  return fetch("/nb-as/1.0.1/ConfigService/querySystemConfigList", {
    method: "post",
    data: data,
    withLoading: true,
  });
}

// 批量修改配置
export function batchUpdateSystemConfig(data) {
  return fetch("/nb-as/1.0.1/ConfigService/batchUpdateSystemConfig", {
    method: "post",
    data: data,
    withLoading: true,
  });
}
// 修改配置
export function updateSystemConfig(data) {
  return fetch("/nb-as/1.0.1/ConfigService/updateSystemConfig", {
    method: "post",
    data: data,
    withLoading: true,
  });
}
